<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>com.drake.net.exception</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../scripts/main.js" async="async"></script>  </head>
  <body>
    <div id="container">
      <div id="leftColumn"><a href="../../index.html">
          <div id="logo"></div>
        </a>
        <div id="paneSearch"></div>
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../scripts/main.js"></script>        <div class="main-content" id="content" pageIds="Net::com.drake.net.exception////PointingToDeclaration//1281733757">
          <div class="navigation-wrapper" id="navigation-wrapper">
            <div class="breadcrumbs"><a href="../../index.html">Net</a>/<a href="index.html">com.drake.net.exception</a></div>
            <div class="pull-right d-flex">
              <div id="searchBar"></div>
            </div>
          </div>
          <div class="cover ">
            <h1 class="cover"><span>Package com.</span><wbr></wbr><span>drake.</span><wbr></wbr><span>net.</span><wbr></wbr><span>exception</span></h1>
          </div>
          <div class="tabbedcontent">
            <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button></div>
            <div class="tabs-section-body">
              <h2 class="">Types</h2>
              <div class="table" data-togglable="Types"><a data-name="70918582%2FClasslikes%2F1281733757" anchor-label="ConvertException" id="70918582%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-convert-exception/index.html">ConvertException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="70918582%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-convert-exception/index.html">ConvertException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?, tag: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?) : <a href="-http-response-exception/index.html">HttpResponseException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="70918582%2FClasslikes%2F1281733757" anchor-label="ConvertException" id="70918582%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="70918582%2FClasslikes%2F1281733757" anchor-label="ConvertException" id="70918582%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>转换数据异常</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1221659333%2FClasslikes%2F1281733757" anchor-label="DownloadFileException" id="1221659333%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-download-file-exception/index.html">DownloadFileException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1221659333%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-download-file-exception/index.html">DownloadFileException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?, tag: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?) : <a href="-http-response-exception/index.html">HttpResponseException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1221659333%2FClasslikes%2F1281733757" anchor-label="DownloadFileException" id="1221659333%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="1221659333%2FClasslikes%2F1281733757" anchor-label="DownloadFileException" id="1221659333%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>下载文件异常</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1243641765%2FClasslikes%2F1281733757" anchor-label="HttpFailureException" id="1243641765%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-http-failure-exception/index.html">HttpFailureException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1243641765%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">open class <a href="-http-failure-exception/index.html">HttpFailureException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1243641765%2FClasslikes%2F1281733757" anchor-label="HttpFailureException" id="1243641765%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="1243641765%2FClasslikes%2F1281733757" anchor-label="HttpFailureException" id="1243641765%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>该类表示Http请求在服务器响应之前失败</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="694871114%2FClasslikes%2F1281733757" anchor-label="HttpResponseException" id="694871114%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-http-response-exception/index.html">HttpResponseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="694871114%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">open class <a href="-http-response-exception/index.html">HttpResponseException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="694871114%2FClasslikes%2F1281733757" anchor-label="HttpResponseException" id="694871114%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="694871114%2FClasslikes%2F1281733757" anchor-label="HttpResponseException" id="694871114%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>该类表示Http请求在服务器响应成功后失败</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="901509891%2FClasslikes%2F1281733757" anchor-label="NetCancellationException" id="901509891%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-net-cancellation-exception/index.html">NetCancellationException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="901509891%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-cancellation-exception/index.html">NetCancellationException</a>(coroutineScope: <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?) : <a href="https://developer.android.com/reference/kotlin/java/util/concurrent/CancellationException.html">CancellationException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="901509891%2FClasslikes%2F1281733757" anchor-label="NetCancellationException" id="901509891%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="901509891%2FClasslikes%2F1281733757" anchor-label="NetCancellationException" id="901509891%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>取消网络任务的异常</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="83194542%2FClasslikes%2F1281733757" anchor-label="NetConnectException" id="83194542%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-net-connect-exception/index.html">NetConnectException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="83194542%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-connect-exception/index.html">NetConnectException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-http-failure-exception/index.html">HttpFailureException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="83194542%2FClasslikes%2F1281733757" anchor-label="NetConnectException" id="83194542%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="83194542%2FClasslikes%2F1281733757" anchor-label="NetConnectException" id="83194542%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>连接错误</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="989416352%2FClasslikes%2F1281733757" anchor-label="NetException" id="989416352%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-net-exception/index.html">NetException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="989416352%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">open class <a href="-net-exception/index.html">NetException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="https://developer.android.com/reference/kotlin/java/io/IOException.html">IOException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="989416352%2FClasslikes%2F1281733757" anchor-label="NetException" id="989416352%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="989416352%2FClasslikes%2F1281733757" anchor-label="NetException" id="989416352%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>表示为Net发生的网络异常 在转换器<a href="../com.drake.net.convert/-net-converter/index.html">com.drake.net.convert.NetConverter</a>中抛出的异常如果没有继承该类都会被视为数据转换异常<a href="-convert-exception/index.html">ConvertException</a>, 该类一般用于自定义异常</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1178397262%2FClasslikes%2F1281733757" anchor-label="NetSocketTimeoutException" id="-1178397262%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-net-socket-timeout-exception/index.html">NetSocketTimeoutException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1178397262%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-socket-timeout-exception/index.html">NetSocketTimeoutException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-http-failure-exception/index.html">HttpFailureException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1178397262%2FClasslikes%2F1281733757" anchor-label="NetSocketTimeoutException" id="-1178397262%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1178397262%2FClasslikes%2F1281733757" anchor-label="NetSocketTimeoutException" id="-1178397262%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>请求过程中读取或者写入超时</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1351528490%2FClasslikes%2F1281733757" anchor-label="NetUnknownHostException" id="-1351528490%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-net-unknown-host-exception/index.html">NetUnknownHostException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1351528490%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-net-unknown-host-exception/index.html">NetUnknownHostException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-http-failure-exception/index.html">HttpFailureException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1351528490%2FClasslikes%2F1281733757" anchor-label="NetUnknownHostException" id="-1351528490%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1351528490%2FClasslikes%2F1281733757" anchor-label="NetUnknownHostException" id="-1351528490%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>主机域名无法访问</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1444990123%2FClasslikes%2F1281733757" anchor-label="NetworkingException" id="-1444990123%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-networking-exception/index.html">NetworkingException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1444990123%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-networking-exception/index.html">NetworkingException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-http-failure-exception/index.html">HttpFailureException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1444990123%2FClasslikes%2F1281733757" anchor-label="NetworkingException" id="-1444990123%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1444990123%2FClasslikes%2F1281733757" anchor-label="NetworkingException" id="-1444990123%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>无网络情况</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1750039868%2FClasslikes%2F1281733757" anchor-label="NoCacheException" id="-1750039868%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-no-cache-exception/index.html">NoCacheException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1750039868%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-no-cache-exception/index.html">NoCacheException</a>(request: <span data-unresolved-link="okhttp3/Request///PointingToDeclaration/">Request</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="-net-exception/index.html">NetException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1750039868%2FClasslikes%2F1281733757" anchor-label="NoCacheException" id="-1750039868%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1750039868%2FClasslikes%2F1281733757" anchor-label="NoCacheException" id="-1750039868%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>读取缓存失败 仅当设置强制缓存模式<a href="../com.drake.net.cache/-cache-mode/-r-e-a-d/index.html">com.drake.net.cache.CacheMode.READ</a>和<a href="../com.drake.net.cache/-cache-mode/-r-e-q-u-e-s-t_-t-h-e-n_-r-e-a-d/index.html">com.drake.net.cache.CacheMode.REQUEST_THEN_READ</a>才会发生此异常</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1960577096%2FClasslikes%2F1281733757" anchor-label="RequestParamsException" id="-1960577096%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-request-params-exception/index.html">RequestParamsException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1960577096%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-request-params-exception/index.html">RequestParamsException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?, tag: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?) : <a href="-http-response-exception/index.html">HttpResponseException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1960577096%2FClasslikes%2F1281733757" anchor-label="RequestParamsException" id="-1960577096%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1960577096%2FClasslikes%2F1281733757" anchor-label="RequestParamsException" id="-1960577096%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>400 - 499 客户端请求异常</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-808853214%2FClasslikes%2F1281733757" anchor-label="ResponseException" id="-808853214%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-response-exception/index.html">ResponseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-808853214%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-response-exception/index.html">ResponseException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?, tag: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?) : <a href="-http-response-exception/index.html">HttpResponseException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-808853214%2FClasslikes%2F1281733757" anchor-label="ResponseException" id="-808853214%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-808853214%2FClasslikes%2F1281733757" anchor-label="ResponseException" id="-808853214%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>状态码在200..</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1478245765%2FClasslikes%2F1281733757" anchor-label="ServerResponseException" id="1478245765%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-server-response-exception/index.html">ServerResponseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1478245765%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">class <a href="-server-response-exception/index.html">ServerResponseException</a>(response: <span data-unresolved-link="okhttp3/Response///PointingToDeclaration/">Response</span>, message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?, tag: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?) : <a href="-http-response-exception/index.html">HttpResponseException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1478245765%2FClasslikes%2F1281733757" anchor-label="ServerResponseException" id="1478245765%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="1478245765%2FClasslikes%2F1281733757" anchor-label="ServerResponseException" id="1478245765%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="sample-container"><code class="" theme="idea"><pre><p class="paragraph">= 500 服务器异常</p></pre></code></div></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="209875621%2FClasslikes%2F1281733757" anchor-label="URLParseException" id="209875621%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-u-r-l-parse-exception/index.html">URLParseException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="209875621%2FClasslikes%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">open class <a href="-u-r-l-parse-exception/index.html">URLParseException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?, cause: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a>?) : <a href="https://developer.android.com/reference/kotlin/java/lang/Exception.html">Exception</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="209875621%2FClasslikes%2F1281733757" anchor-label="URLParseException" id="209875621%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="209875621%2FClasslikes%2F1281733757" anchor-label="URLParseException" id="209875621%2FClasslikes%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>URL地址错误</div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
              <h2 class="">Functions</h2>
              <div class="table" data-togglable="Functions"><a data-name="-1469668043%2FFunctions%2F1281733757" anchor-label="NetCancellationException" id="-1469668043%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="-net-cancellation-exception.html">NetCancellationException</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1469668043%2FFunctions%2F1281733757"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":net:dokkaHtml/release" data-filterable-set=":net:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":net:dokkaHtml/release"><div class="symbol monospace">fun <span data-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>.<a href="-net-cancellation-exception.html">NetCancellationException</a>(message: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>? = null): <a href="-net-cancellation-exception/index.html">NetCancellationException</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1469668043%2FFunctions%2F1281733757" anchor-label="NetCancellationException" id="-1469668043%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a><div class="brief "><a data-name="-1469668043%2FFunctions%2F1281733757" anchor-label="NetCancellationException" id="-1469668043%2FFunctions%2F1281733757" data-filterable-set=":net:dokkaHtml/release"></a>在作用域中抛出该异常将取消其作用域内所有的网络请求(如果存在的话)</div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2023 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
      </div>
    </div>
  </body>
</html>

